﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Generatelicense.aspx.cs" Inherits="Yorkg.CMS.OtherWeb._Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script src="Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
    <script  src="Scripts/pinyin.js" type="text/javascript"></script>
</head>
<body>
        <script language="javascript" type="text/javascript">
            $(document).ready(function() {
                $("#txtName").blur(function () {
                    $('#txtKey').val(pinyin.go($("#txtName").val(), 2));
                });
            });
        </script>
    <form id="form1" runat="server">
    <div>
        <div>
             企业名称：
             <asp:TextBox ID="txtName" runat="server"></asp:TextBox>
        </div>
        <div>
             关键字：
             <asp:TextBox ID="txtKey" runat="server" ></asp:TextBox>
        </div>
        <div>当前版本:
            <asp:DropDownList ID="ddlVersion" runat="server">
            <asp:ListItem Value="0">试用版</asp:ListItem>
            <asp:ListItem Value="1">标准版</asp:ListItem>
            <asp:ListItem Value="2">企业版</asp:ListItem>
            <asp:ListItem Value="3">门户版</asp:ListItem>
            </asp:DropDownList>
        </div>
        <div>
            <asp:Button ID="btnClick" runat="server" Text="Button" 
                onclick="btnClick_Click" />
        </div>
    </form>
</body>
</html>
